package keshe.dayin;
import keshe.DataBaseCreate;

import java.util.ArrayList;
import java.util.List;

public class student {

    private Long Num;

    private String Name;

    private String Major;

    private int Maths;

    private int Chinese;

    private int English;


    public Long getNum() {
        return Num;
    }

    public void setNum(Long Num) {
        this.Num = Num;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }
    public int getMaths(){
        return Maths;
    }
    public void setMaths(int Maths){
        this.Maths=Maths;
    }
    public int getChinese(){
        return Chinese;
    }
    public void setChinese(int Chinese){
        this.Chinese=Chinese;
    }
    public int getEnglish(){
        return English;
    }
    public void setEnglish(int English){
        this.English=English;
    }


    public String getMajor() {
        return Major;
    }

    public void setMajor(String Major) {
        this.Major = Major;
    }

    @Override
    public String toString() {
        return "student{" +
                "id=" + Num +
                ", name='" + Name + '\'' +
                ", 专业='" + Major + '\'' +
                ", 数学='" + Maths + '\'' +
                ", 语文='" + Chinese + '\'' +
                ", 英语='" + English + '\'' +
                '}';
    }
}

